<template>
  <div class="app-container">
    <!-- <el-row class="app-toolbar">
      <el-button type="primary" @click="_exportData">导出账单信息</el-button>
    </el-row> -->
    <el-table v-loading="listLoading" :data="datas" :empty-text="empty_text" element-loading-text="Loading" border fit stripe highlight-current-row>
      <!-- <el-table-column type="selection" width="50"></el-table-column> -->
      <el-table-column label="序号" align="center" width="60">
        <template slot-scope="scope">
          {{ scope.$index + 1 }}
        </template>
      </el-table-column>
      <!-- <el-table-column prop="id" label="序号" align="center" width="180"></el-table-column> -->
      <!-- <el-table-column label="商品名称">
        <template slot-scope="scope">
          {{ scope.row.commodityName }}
        </template>
      </el-table-column> -->
      <el-table-column label="系统名称">
        <template slot-scope="scope">
          {{ scope.row.systemName }}
        </template>
      </el-table-column>
      <el-table-column label="好评数" width="120" align="center">
        <template slot-scope="scope">
          {{ scope.row.niceSum }}
        </template>
      </el-table-column>
      <el-table-column label="中评数" width="120" align="center">
        <template slot-scope="scope">
          {{ scope.row.commonlySum }}
        </template>
      </el-table-column>
      <el-table-column label="差评数" width="120" align="center">
        <template slot-scope="scope">
          {{ scope.row.differenceSum }}
        </template>
      </el-table-column>
      <el-table-column label="好评率" width="120" align="center">
        <template slot-scope="scope">
          {{ scope.row.rateSum }}
        </template>
      </el-table-column>
      <el-table-column fixed="right" label="操作" width="120" align="center">
        <template slot-scope="scope">
          <el-button type="text" size="small" @click="detailRow(scope.row)">交易详情</el-button>
        </template>
      </el-table-column>
    </el-table>
    <el-pagination
      layout="total, sizes, prev, pager, next, jumper"
      :page-size="listPages.size"
      :current-page="listPages.page"
      :total="listPages.total"
      :page-sizes="listPages.sizes"
      @size-change="_page_size_change"
      @prev-click="_page_prev_click"
      @current-change="_page_current_change"
      @next-click="_page_next_click"
    ></el-pagination>

    <!-- <CommentList></CommentList> -->
    <CommentList :key="keys.CommentList" :options="configCommentList" @backCommentList="backCommentList"></CommentList>
  </div>
</template>
<script src="./index.js"></script>
<style lang="scss" src="./index.scss"></style>
<style lang="scss" scoped src="./index.scoped.scss"></style>
